#ifndef CHARACTER_H
#define CHARACTER_H

#include <QMap>

#include "globals.h"
#include "earthdawn.h"

class Character
{
public:
  Character();
  virtual ~Character();

  RW(QString,name)

  void setAttribute(ed::Attribute a, int value);
  int attributeValue(ed::Attribute a) const;
  int attributeLevel(ed::Attribute a) const;

private:
  QMap<ed::Attribute,int> _attributes;
};

#endif // CHARACTER_H
